﻿#pragma once

class dlgQuery :
	public wxDialog
{
public:
	dlgQuery(wxWindow*pa,wxString*para);
	~dlgQuery(void);





private:
	wxString *tmpPara;//临时存储参数
	wxPropertyGrid*pg;
	void OnOK(wxCommandEvent&e);
	/*void OnPropertyGridChange(wxPropertyGridEvent&e);*/
	DECLARE_EVENT_TABLE()
};

class dlgSelComm :
	public wxDialog
{
public:
	dlgSelComm(wxWindow*pa,int *comMotor,int *comReader);
	~dlgSelComm(void);





private:
	int* im,*ir;
	wxChoice*motor,*reader;
	void OnOK(wxCommandEvent&e);
	/*void OnPropertyGridChange(wxPropertyGridEvent&e);*/
	DECLARE_EVENT_TABLE()
};

